package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.FlightDestination;
import cn.wolfcode.luowowo.article.domain.FlightMessage;
import cn.wolfcode.luowowo.common.exception.LogicException;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface IFlightDestinationService {
    List<FlightDestination> getDestByinitials(String initial);
    //根据传入的字符串进行拆分拿到每个地区的首字母进行查询地区
    List<Map<String,Object>> getDestByinitials2(String initial);
    List<FlightDestination> getDestByIsHot();
    //根据有没返回时间来判断是单程还是双层飞机票信息
    List<FlightMessage> getFlightMessage(String orgCity, String dstCity, Date time) throws LogicException;
}
